import request from '@/utils/request'

export const reqAttrsList = (category1Id, category2Id, category3Id) => {
  return request.get(`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`)
}

export const deleteAttr = (attrId) => {
  return request.delete(`/admin/product/deleteAttr/${attrId}`)
}

export const saveAttr = (AttrParams) => {
  return request.post('/admin/product/saveAttrInfo', AttrParams)
}
